#ifndef BIG_INT
#define BIG_INT
#include <iostream>
#include <fstream>
#include <vector>
#include <string>

using std::vector;
using std::string;
using std::pair;

class big_int
{
	static const int base = 100000000;
	static const int max_length = 10000;
	static const int digits = 8;
	vector<long long> numb;
public:
	big_int();
	big_int(string s);
	big_int(const big_int& a);
	int length() const;
	long long comp (const big_int &b);
	long long string_into_longlong(const string &s);
	long long& operator [] (int i);
	big_int operator - (const big_int &a);
	big_int operator * (const int &n);
	pair<big_int, big_int> big_int::operator / (const big_int &a);
	bool zero();
	bool operator > (const big_int &b);
	bool operator < (const big_int &b);
	bool operator == (const big_int &b);
	bool operator <= (const big_int &b);
	bool operator >= (const big_int &b);
	string to_string();
	string longlong_into_string(const long long &a);
};
#endif